package com.xlh.dao.courseTest.helper;

import com.xlh.dao.courseTest.ExperimentReportMapper;
import com.xlh.dao.courseTest.PracticeMapper;
import com.xlh.pojo.courseTest.ExperimentReport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @author sy
 */
@Repository
public class ExperimentReportMapperHelper {

    @Autowired
    private ExperimentReportMapper experimentReportMapper;

    /**
     * 主键值查询
     * @param id
     * @return
     */
    public ExperimentReport get(Long id) {

        ExperimentReport experimentReport = experimentReportMapper.selectByPrimaryKey(id);

        return experimentReport;
    }
}
